<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
            <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/css/base2.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/css/style2.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.1.4.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<title>渠道商管理-渠道商账户</title>
	</head>
	<body>
		<div class="page">
			
				<div class="main_menu fl">
				<c:forEach items="${sessionScope.MENU_LIST}" var="mainMenu">
					<c:if test="${mainMenu.wOOpid == 2}">
						<div class="menu_name">
							<a href="${pageContext.request.contextPath}/${mainMenu.wOAction}"
								target="main"> <img
								src="${pageContext.request.contextPath}${mainMenu.wOIcon}">
								<p>${mainMenu.wOName}</p>
							</a>
						</div>
					</c:if>
				</c:forEach>
			</div>
				<div class="main_cont fl">
					<div class="main_cont_top">
						<div class="main_inner clearfix">
							<!-- <div class="cont_top_title fl">当前位置：渠道商管理 > 渠道商账户</div> -->
							<div class="cont_top_time fr"><i>
							<a onclick="javascript:history.go(0);">
							<img src="${pageContext.request.contextPath}/images/images/refresh.png">刷新
							</a>
							</i></div>
						</div>
					</div>
					<div class="main_cont_top">
						<div class="main_inner clearfix">
							<div class="cont_top_time fr pr">
								<form action="${pageContext.request.contextPath}/supplier/accountList/1.html">
									<input type="search" placeholder="请输入渠道商名查询" class="search_txt" name="name">
									<input type="submit" value="搜索" class="search pa" style="top:6px;right: 0;">
								</form>
							</div>
						</div>
					</div>
					<div class="main_cont_bottom_channelAccount">
						<div class="main_inner">
							<table>
							    <tr>
							        <th>渠道商编号</th> 
							        <th>渠道商名</th> 
							        <th>账户余额</th>
							        <th>可提现金额</th>
							        <th>最近提现日期</th> 
							        <th>最近提现金额</th> 
							        <th>最后结算时间</th>
							        <th>最后结算金额</th>
							    </tr> 
							    
							     <c:forEach items="${PAGE_BEAN.dataList}" var="account">
									<tr>
										<td>${account.id}</td>
										<td>${account.wAName}</td>
										<td>${account.wAFee}</td>
										<td>${account.wABalance}</td>
										<td>${account.wALastWithdrawDate}</td>
										<td>${account.wALastWithdraw}</td>
										<td>${account.wALastSaveDate}</td>
										<td>${account.wALastSave}</td>
									</tr>
								</c:forEach>
							</table> 
							<%@ include file="/WEB-INF/views/page.jsp"%>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
